package com.health.db.service.user.impl;

import java.util.List;

import com.health.db.dao.user.IUserAccountJournalDao;
import com.health.db.model.UserAccountJournal;
import com.health.db.model.UserAccountJournalExample;
import com.health.db.model.UserAccountJournalTemp;
import com.health.db.service.user.IUserAccountJournalService;

public class UserAccountJournalServiceImpl implements
		IUserAccountJournalService {
	
	IUserAccountJournalDao userAccountJournalDao ; 
	
	
	@Override
	public int insertAccountJournal(UserAccountJournal record) {
		int result=-1;
		result= userAccountJournalDao.insert(record);
		return result;
	}
	@Override
	public List<UserAccountJournalTemp> selectUserAccountJournalSimple(UserAccountJournalExample example) {
		 List<UserAccountJournalTemp> list=userAccountJournalDao.selectUserAccountJournalSimple(example);
		 return   list;
	}
	public IUserAccountJournalDao getUserAccountJournalDao() {
		return userAccountJournalDao;
	}
	public void setUserAccountJournalDao(
			IUserAccountJournalDao userAccountJournalDao) {
		this.userAccountJournalDao = userAccountJournalDao;
	}
	
	
	
	
}
